{% extends "forum/base.html" %}
{% load i18n %}

{# uses forum_user and forum_profile #}
{% block body %}

<div class="user_frame clearfix">
    <div class="span-6">
        {% include "forum/user/includes/profile_column.html" %}
    </div>

    <div class="span-18 last"><div class="space">
            
        <div id="profile_menu" class="clearfix">
            <div class="content">
                {# public navigation links go here #}
                <a href='{{ frm_profile.link }}'>{{frm_profile.username}}</a>
                {% ifequal request.user frm_profile.user %}
                <a href='{{ frm_profile.link.msg_box }}'>{% trans "Message Box" %}</a>                
                <a href='{{ frm_profile.link.friends }}'>{% trans "Friends" %}</a>
                {% endifequal %}
            </div>
        </div>
    
        
        {% block content %}
        <div class="space">
        {# user information goes here #}
            <dl>
                <dt class="span-4">{% trans "Member since" %}:</dt>
                <dd>{{ frm_profile.created_time|date }}</dd>
                
                <dt class="span-4">{% trans "Total posts" %}:</dt>
                <dd>{{ frm_profile.reply_count }}</dd>
                
                <dt class="span-4">{% trans "Total topics" %}:</dt>
                <dd>{{ frm_profile.topic_count }}</dd>
            </dl>
                
            {% if frm_profile.signature %}
			<h3>{% trans "Signature" %}</h3>
            <div class="clear signature">{{ frm_profile.signature|safe }}</div>
            {% endif %}
        </div>
        {% endblock %}
        
    </div>

</div> {# fim do .user_profile #}

{% endblock body %}
